package org.oos.data;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Represents an 11870 service, which is usually a business.
 * Services through the api come in two flavors: UserService and SearchService.  
 */
public abstract class Service implements Serializable
{
	public Integer id;
	public String name;
	public String phone;
	public String url;
	public String externalUrl;
	public ArrayList<String> tags;
	public Location location;

	public abstract String getSummary();
	
	public String toString()
	{
		StringBuilder sb = new StringBuilder();
		sb.append(id).append("-").append(name);
		return sb.toString();
	}
}
